
namespace JTZY.Model.Stock
{
    /// <summary>
    /// 库存明细
    /// </summary>
    [SugarTable("prod_stock")]
    public class ProdStock
    {
        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 商品ID 
        /// </summary>
        public int? ProductId { get; set; }

        /// <summary>
        /// 一物一码 
        /// </summary>
        public string SnCode { get; set; }

        /// <summary>
        /// 所属用户ID 
        /// </summary>
        public int? UserId { get; set; }

        /// <summary>
        /// 3售后仓库、0良品仓、1客户仓 2小仓 
        /// </summary>
        public string StockType { get; set; }

        /// <summary>
        /// 库存位置用户ID 
        /// </summary>
        public int? WarehouseUserId { get; set; }

    }
}